hbox(flex=0)
  label(bbt:preference="extensions.zotero.translators.better-bibtex.importCaseProtection") &better-bibtex_preferences_advanced_import_case-protection;
  menulist(preference="extensions.zotero.translators.better-bibtex.importCaseProtection")
    menupopup
      menuitem(value='as-needed' label='&better-bibtex_preferences_advanced_import_case-protection_as-needed.label;')
      menuitem(value='on' label='&better-bibtex_preferences_advanced_import_case-protection_on.label;')
      menuitem(value='off' label='&better-bibtex_preferences_advanced_import_case-protection_off.label;')
  image(tooltip="bbt-tooltip-importCaseProtection" src="chrome://zotero-better-bibtex/content/skin/attention.svg" width="16" height="16")

checkbox(preference="extensions.zotero.translators.better-bibtex.auxImport" label="&better-bibtex_preferences_citekey_aux-scanner_import.label;")
hbox(flex=0)
  groupbox
    caption(bbt:preference="extensions.zotero.translators.better-bibtex.importSentenceCase") &better-bibtex_preferences_advanced_import_sentence-case;
      image(tooltip="bbt-tooltip-importSentenceCase" src="chrome://zotero-better-bibtex/content/skin/attention.svg" width="16" height="16")
    radiogroup(preference="extensions.zotero.translators.better-bibtex.importSentenceCase")
      radio(label="&better-bibtex_preferences_advanced_import_sentence-case_on-guess.label;" value="on+guess")
      radio(label="&better-bibtex_preferences_advanced_import_sentence-case_on.label;" value="on")
      radio(label="&better-bibtex_preferences_advanced_import_sentence-case_off.label;" value="off")
hbox(flex=0)
  groupbox
    caption &better-bibtex_preferences_advanced_import_migrate;
    button(label="&better-bibtex_preferences_advanced_import_export-prefs.label;" oncommand="Zotero.BetterBibTeX.PrefPane.exportPrefs()")
    button(label="&better-bibtex_preferences_advanced_import_prefs.label;" oncommand="Zotero.BetterBibTeX.PrefPane.importPrefs()")
